<template>
  <div class="member_details">
    <el-container class="base_details_container">
      <BackTitleView title="会员详情" />
      <el-main>
        <div class="base_details_content">
          <div class="content">
            <div class="base_details_title">基本信息</div>
            <div class="base_details_content_second">
              <MemberInfo :type="config.type"></MemberInfo>
            </div>
          </div>
        </div>
      </el-main>
      <el-footer>
        <el-button @click="back">关闭</el-button>
      </el-footer>
    </el-container>
  </div>
</template>

<script setup>
import BackTitleView from "@com/BackTitleView.vue";
import MemberTable from '@com/member/MemberInfo.vue'
import useRoute from "@util/router";

const config = {
  type: 'memberdetails'
}

const route = useRoute();

function back() {
  route.go(-1);
}
</script>

<style lang="scss">
.member_details {
  height: 100%;
}
</style>
